package com.mcxx.modules.miniSalvation.family.dao.read;


import com.mcxx.modules.miniSalvation.family.entity.BankEntity;
import com.mcxx.modules.miniSalvation.family.entity.FamilyMemberEntity;
import com.mcxx.modules.miniSalvation.family.entity.FamilySammaryEntity;
import com.yinhai.ta404.module.mybatis.mapper.Ta404SupportMapper;
import org.apache.ibatis.annotations.Param;


public interface FamilySammaryReadDAO  extends Ta404SupportMapper {

	int queryFamilyByOrderId(@Param("orderId")String orderId);

    FamilySammaryEntity getByOrderId(@Param("orderId")String orderId);

    FamilySammaryEntity queryByOrderId(@Param("orderId")String orderId);

    FamilySammaryEntity querySupplyType(@Param("memberId")String memberId , @Param("orderId")String orderId);

    FamilyMemberEntity getName(@Param("orderId")String orderId);

    FamilySammaryEntity queryByFamilyIdAndBusiType(BankEntity entity);

    FamilySammaryEntity queryByOrderId2(@Param("orderId")String orderId);

    FamilySammaryEntity getByOrderId2(@Param("orderId")String orderId);

    Double getFamilyFamilyIncomeByMonth(@Param("familyId")String familyId , @Param("sendMonth")String sendMonth);
}
